﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using SqlSugar;

namespace AspectCore
{
    [SugarTable("Test")]
    public class TestModel
    {
        [SugarColumn(IsPrimaryKey = true)]
        public long Id { get; set; }

        public string Name { get; set; }

        public int Age { get; set; }

        public decimal Score { get; set; }
        [SplitField]
        public DateTime CreateTime { get; set; }
    }

    [SugarTable("Test1")]
    public class TestModel1
    {
        [SugarColumn(IsPrimaryKey = true)]
        public long Id { get; set; }

        public string Name { get; set; }

        public int Age { get; set; }

        public decimal Score { get; set; }
        [SplitField]
        public DateTime CreateTime { get; set; }
    }
}
